<?php

namespace App\Enums;

class StellarEnum
{

    //配置操作锁(防止修改和兑换冲突)
    const PET_GIFT_CONFIG_UPDATE_LOCK = 'stellar:update:config_'; //拼接props_gift_config 的id


    //用户兑换锁 防止并发操作
    const USER_GIFT_EXCHANGE_LOCK = 'stellar:exchange:user_'; //拼接user_id


    const PROPS_GAME_STELLAR = 2;//game 映射 2幸运神灯

    const PROPS_GAME_NAME = [
        self::PROPS_GAME_STELLAR => '萌兽盲盒'
    ];

    const PROPS_GAME_URL =[
        self::PROPS_GAME_STELLAR=> [
            'path'=>'/moduleGame/StellarGameDialogFragment',
            'game_id'=>11,
        ],

    ];

}
